﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CardRevenueManage.aspx.cs" Inherits="SDLITS.Web.Driver.CardRevenueManage" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style>
        .marginr {
            margin-right: 15px;
        }

        .formitem {
            margin-bottom: 15px;
        }
    </style>
</head>
<body>
    <form id="_form1" runat="server">
        <f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel3" />
        <f:Panel ID="Panel3" Width="500px" runat="server" Title="充值查询" ShowBorder="false" ShowHeader="true">
            <Toolbars>
                <f:Toolbar runat="server">
                    <Items>
                        <f:ToolbarFill runat="server"></f:ToolbarFill>
                        <f:Button ID="btnSaveRefresh" Text="查看" runat="server" Icon="SystemSaveNew" OnClick="btnSaveRefresh_Click">
                        </f:Button>
                        <f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
                        <f:Button ID="Button1" Text="打印" runat="server" Icon="SystemSaveNew" OnClick="Button1_Click">
                        </f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"></f:ToolbarSeparator>
                        <f:Button ID="Button2" Text="补打印" runat="server" Icon="SystemSaveNew" OnClick="Button2_Click">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
            <Items>
                <f:Form ID="Form1" LabelWidth="65px" LabelAlign="Right" ShowBorder="false" ShowHeader="false" BodyPadding="15px" Title="表单" runat="server">
                    <Items>
                        <f:Panel ID="Panel1" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="formitem"
                            runat="server">
                            <Items>
                                <f:CheckBox runat="server" ID="cbl_all" Label="详细数据"></f:CheckBox>
                            </Items>
                        </f:Panel>
                        <f:Panel ID="Panel2" ShowHeader="false" ShowBorder="false" Layout="HBox" CssClass="formitem"
                            runat="server">
                            <Items>
                                <f:DatePicker runat="server" Width="185px" CssClass="marginr" ID="txtStartDate" EnableEdit="false" DateFormatString="yyyy-MM-dd" Label="开始日期"></f:DatePicker>
                                <f:DatePicker runat="server" Width="185px" CssClass="marginr" ID="txtEndDate" EnableEdit="false" DateFormatString="yyyy-MM-dd" Label="结束日期"></f:DatePicker>
                                <f:TextBox runat="server" Width="175px" CssClass="marginr" ID="txtMemCardNo" Label="卡号"></f:TextBox>

                                <f:DropDownList runat="server" Width="175px" AutoPostBack="true" OnSelectedIndexChanged="cmbUsers_SelectedIndexChanged" CssClass="marginr" ID="cmbUsers" Label="充值人员"></f:DropDownList>
                            </Items>
                        </f:Panel>
                        <f:Panel ID="Panel4" ShowHeader="false" ShowBorder="false" Layout="HBox" CssClass="formitem"
                            runat="server">
                            <Items>
                                <f:Label runat="server" Width="175px" CssClass="marginr" ID="lblInitialAmount" Label="办卡总额"></f:Label>
                                <f:Label runat="server" Width="175px" CssClass="marginr" ID="lblBonusAmount" Label="套餐总额"></f:Label>
                                <f:Label runat="server" Width="175px" CssClass="marginr" ID="lblTotal" Label="充值总额"></f:Label>
                                <f:Label runat="server" Width="175px" CssClass="marginr" ID="lblTotalAll" Label="总金额"></f:Label>
                            </Items>
                        </f:Panel>
                        <f:Panel ID="Panel5" ShowHeader="false" ShowBorder="false" Layout="HBox" CssClass="formitem"
                            runat="server">
                            <Items>
                                <f:Label runat="server" Width="175px" LabelWidth="80px" CssClass="marginr" ID="lblWorkAmount" Label="手续费总额"></f:Label>
                                <f:Label runat="server" Width="175px" CssClass="marginr" ID="lblDriverSum" Label="驾驶员卡"></f:Label>
                                <f:Label runat="server" Width="175px" CssClass="marginr" ID="lblCompanySum" Label="企业卡"></f:Label>
                                <f:Label runat="server" Width="175px" CssClass="marginr" ID="lblTempSum" Label="临时卡"></f:Label>
                            </Items>
                        </f:Panel>
                    </Items>
                </f:Form>
                <f:Panel ID="Panel6" Width="800px" Height="430px" runat="server" Layout="Fit" Title="充值查询" ShowBorder="false" ShowHeader="false">
                    <Items>
                        <f:Grid ID="Grid1" ShowBorder="false" PageSize="12" Hidden="true" AllowPaging="true" EnableCheckBoxSelect="true" IsDatabasePaging="true"
                            OnPageIndexChange="Grid1_PageIndexChange" EnableColumnLines="true"
                            EnableHeaderMenu="false" ShowHeader="false" Title="表格" runat="server" EnableCollapse="false" DataKeyNames="CardRevenueID">
                            <Columns>
                                <f:RowNumberField EnablePagingNumber="true" Width="80px" TextAlign="Center" />
                                <f:BoundField Width="75px" DataField="InitialAmount" HeaderText="办理费用" TextAlign="Center" />
                                <f:BoundField Width="75px" DataField="WorkAmount" HeaderText="手续费" TextAlign="Center" />
                                <f:BoundField Width="75px" DataField="BonusAmount" HeaderText="套餐金额" TextAlign="Center" />
                                <f:BoundField Width="75px" DataField="PlusAmount" HeaderText="增加金额" TextAlign="Center" />
                                <f:BoundField Width="75px" DataField="PlusDays" HeaderText="增加天数" TextAlign="Center" />
                                <f:BoundField Width="95px" DataField="MemcardNo" HeaderText="关联卡号" TextAlign="Center" />
                                <f:BoundField Width="130px" DataField="CreateDate" HeaderText="充值日期" />
                                <f:BoundField Width="85px" DataField="CreateUserName" HeaderText="充值人员" TextAlign="Center" />
                            </Columns>
                        </f:Grid>
                    </Items>
                </f:Panel>
            </Items>
        </f:Panel>
        <f:Window ID="Window1" Title="编辑" Hidden="true" EnableIFrame="true" runat="server"
            IFrameUrl="about:blank" IsModal="True" Width="600px" Height="450px">
        </f:Window>
    </form>
</body>
</html>
